<template>
  <router-view />
</template>
<script setup lang="ts">
import { onMounted } from 'vue'

import * as base from '@/utils/base.js'
// console.log(base)
/**
 * vite+vue3报错：无法找到模块“xxx.js”的声明文件。“xxx.js”隐式拥有“any”类型。
 * //"@/utils/base.js"为引用文件路径
 * declare module '@/utils/base.js'
 */
onMounted(() => {
  // 初始化 Ios Android 客户端
  base.miotLinkBaseNativeJs_initAndroid()
  base.miotLinkBaseNativeJs_initIos()
})
</script>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
